package com.study.quiz.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author CJunGod
 * @create 2020-03-05 21:35
 **/
@Data
public class PageDTO<T> {

    private List<T> dtoList;

    private boolean showPrevious;

    private boolean showFirstPage;

    private boolean showNet;

    private boolean showEndPage;

    private Integer page;

    private List<Integer> pages = new ArrayList<>();

    private Integer totalPage;

    private boolean pageHashNext;

}
